next up previous contents index
Next: Pi Up: Functions and Procedures Previous: Paramcount

Paramstr

   

Declaration:

Function Paramstr (L : Longint) : String;

Description:

Paramstr returns the L-th command-line argument. L must be between 0 and Paramcount, these values included. The zeroth argument is the name with which the program was started.

Errors:

Under Linux, command-line arguments may be longer than 255 characters. In that case, the string is truncated. If you want to access the complete string, you must use the argv pointer to access the real values of the command-line parameters.

See also:

Paramcount

For an example, see Paramcount.



Michael Van Canneyt
Tue Mar 31 16:48:49 CEST 1998